package com.luoqiuy.poet.mapper;

import com.luoqiuy.poet.entity.Poet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PoetMapper {
    List<Poet> loadPoetsByAuthorId(int AuthorId);

    Poet loadPoetByPoetId(int id);

    void writePoetById(int id ,Poet poet);
}
